home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / clonep < prev    next >
Text File  |  2001-04-06  |  799b  |  26 lines

  1. SYNOPSIS
  2.         int clonep()
  3.         int clonep (object obj)
  4.         int clonep (string obj)
  5.  
  6. DESCRIPTION
  7.         The efun returns 1 if <obj> is a clone, and 0 if it is not.
  8.         The <obj> can be given as the object itself, or by its name.
  9.         If <obj> is omitted, the current object is tested.
  10.         Arguments of other types return 0.
  11.  
  12. EXAMPLE
  13.         object o;
  14.         o = clone_object("/std/thing");
  15.         write(clonep(o));                           --> writes "1"
  16.         write(clonep("/std/thing"))                 --> writes "0"
  17.  
  18.         (In COMPAT_MODE use "std/thing" as the filename)
  19.  
  20. HISTORY
  21.         Introduced in LDMud 3.2.6, changed in 3.2.7 so that objects
  22.         with replaced programs no longer count as clones.
  23.  
  24. SEE ALSO
  25.         load_name(E), clone_object(E), clones(E)
  26.